import Mock from 'mockjs'
import { getResult } from './utils.js'

Mock.mock('/application/getWorksheetList', 'get', () => {
  const data = [{
    name: "综合预警趋势_copy",  //val
    id: '61cda264838a6d340c8a63e3'
  },
  {
    name: '顶底板移近_copy',
    id: '61cda264838a6d340c8a63a5'
  },
  {
    name: '液压支架压力_copy',
    id: '61cda264838a6d340c8a6367'
  }]
  // const data = [{
  //   name: "自动化监测采集_copy_copy",  //val
  //   id: '610a5f5ac827bf38d7b53bac'
  // },
  // {
  //   name: '传感器配置表_copy_copy',
  //   id: '610a5f5ac827bf38d7b53ba4'
  // },
  // {
  //   name: '	数据采集_copy_copy',
  //   id: '610a5f5ac827bf38d7b53ba0'
  // }]
  return getResult(data)
})
